package com.vogue.supplymall.order.domain.dao.impl;

import com.vogue.supplymall.common.domain.dto.SearchRefundInfo;
import com.vogue.supplymall.order.domain.dao.RefundOrderDao;
import com.vogue.supplymall.order.domain.mapper.RefundOrderMapper;
import com.vogue.supplymall.order.domain.model.RefundOrder;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * The type Refund order dao.
 */
@Repository("refundOrderDao")
public class RefundOrderDaoImpl extends BaseDaoImpl<RefundOrder, Long> implements RefundOrderDao {
    @Resource
    private RefundOrderMapper refundOrderMapper;

    @Override
    public List<Map<String, Object>> findRefundOrderList(SearchRefundInfo searchRefundInfo) {
        return refundOrderMapper.findRefundOrderList(searchRefundInfo);
    }

}
